%option nowarp
%{
  #include<iostream>
  #include<set>
  using namespace std;
  double k;
  int count=0;
  set<string> seta;
%}
delim  [ \t\n]
ws     {delim}+
letter [A-Za-z]
digit  [0-9]
id     {letter}({letter}|{digit})*
number {digit}+(\.{digit}+)?(E[+\-]?{digit}+)?
LETTER [A-Z]
%%
^digit{9}  {printf("201492277");}
NAME$    {printf("ZYZ");}
{number} {
  count++;
  k=atoi(yytext);
  k=2*k;
  k+=201492277;
  printf("%.f\n",k);
  seta.insert(yytext);
  }
.   {ECHO;}

%%
int main()
{
  yylex();
  printf("the number of all the numbers is %d \t after deleting %d \n",count,seta.size());
  return 0;
  }
}
